<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" 
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<html xmlns:jsp="http://java.sun.com/JSP/Page"
  xmlns="http://www.w3.org/1999/xhtml"
  xmlns:ui="http://java.sun.com/jsf/facelets"
  xmlns:f="http://java.sun.com/jsf/core"
  xmlns:h="http://java.sun.com/jsf/html"
  xmlns:c="http://java.sun.com/jstl/core"
  xmlns:ch="http://sourceforge.net/projects/jsf-comp"
  xmlns:fn="http://java.sun.com/jsp/jstl/functions"	
  xmlns:t="http://myfaces.apache.org/tomahawk"
  xmlns:p="http://primefaces.org/ui">
 
  <h:head>
  	<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" />
	<meta name="GENERATOR" content="IBM Software Development Platform"/>
	<meta http-equiv="content-language" content="es" />
	<meta name="lang" content="es" />
	<meta http-equiv="Content-Style-Type" content="text/css"/>
	<meta http-equiv="Cache-Control" content="no-cache"/>	
	<meta http-equiv="Cache-Control" content="no-store"/>	
	<meta http-equiv="Cache-Control" content="must-revalidate"/>
	<meta http-equiv="Pragma" content="no-cache"/>
	<meta http-equiv="Expires" content="0"/>
	
	<link rel="stylesheet" type="text/css" href="${request.contextPath}/theme/default.css" title="Style"/>
	<link rel="stylesheet" type="text/css" href="${request.contextPath}/theme/menu.css" title="Style"/>
	<link rel="stylesheet" type="text/css" href="${request.contextPath}/theme/table.css" title="Style"/>
	<link rel="stylesheet" type="text/css" href="${request.contextPath}/theme/jquery.checkboxtree.min.css" title="Style"/>
	<link type="text/css" rel="stylesheet" href="${request.contextPath}/theme/primefaces/redmond/skin.css"/>
	<script type="text/javascript" src="${request.contextPath}/script/menu/Redirecciones.js"></script>
	<script type="text/javascript" src="${request.contextPath}/script/util.js"></script>
			  
	<script type="text/javascript" src="${request.contextPath}/script/jquery/jquery.checkboxtree.js"></script>
	<script type="text/javascript" src="${request.contextPath}/script/overlib.js"></script>	
	<script type="text/javascript" src="${request.contextPath}/script/timePicker.js"></script>
	
    <ui:insert name="head">
    	<title>Asesor 360</title>
    </ui:insert>

	<style type="text/css">
		.styleMenuModelMain ul.ui-menu-child{
	  		white-space: nowrap;
 	  		width: auto !important;
	  	}
	  	
	  	.panelgridInColumn td {
			border-style: none !important;
		}
		.stylePPanelGridBorder tr, .stylePPanelGridBorder td{
			border:0 !important;
		}
		.hide-column-header-names table thead tr {
		    display: none;
		}
		
		.styleDataTableWrapNormal thead th, .styleDataTableWrapNormal tfoot td, .styleDataTableWrapNormal tbody td{
			white-space: pre-line;
		} 
		.styleDataTableWrapEspecial thead th, .styleDataTableWrapEspecial tfoot td{
			white-space: pre-line;
			padding: 4px 4px;
		}
		.styleDataTableWrapEspecial tbody td{
			white-space: pre-line;
			padding: 0px;
		}
		.styleDataTableWrapExpan thead th{
			padding: 0px 0px;
		}
		.styleDataTableWrapExpan tbody td, .styleDataTableWrapExpan tfoot td{
			white-space: pre-line;
			padding: 4px 1px;
		}
		
		.stylePanelColumnsPadre tbody td {
			    vertical-align: top;
		}
		.stylePanelColumnsHijo tbody td {
		    vertical-align: inherit;
		}
		.pangelGridCenter{
	  		margin: 0 auto;
	  	}
	</style>
<script>
	function pulsar(e) {
        tecla=(document.all) ? e.keyCode : e.which;
      if(tecla==13) return false;
    }

	function cerrar(){
		var ventana = window.self;
		ventana.opener = window.self;
		ventana.close();
	}

//<![CDATA[
			function limitarCajaPrincipal(field, maxlimit) {
				try{
					if (field.value.length > maxlimit) {
						field.value = field.value.substring(0, maxlimit);
					}
				}catch(ex){
				}				
			}				
        //]]>
</script>   
  </h:head> 
  <body class="fondo" onkeypress="return pulsar(event)" >  
	<f:view>	
			<h:form styleClass="form" id="formPrincipal">
				<p:idleMonitor timeout="#{msgs.MSG_IDLE_MINUTOS*60000}" onidle="idleConfirmDialog.show()" />
				<p:confirmDialog id="confirmDialogIdle" header="#{msgs.MSG_IDLE_CABECERA}"
					message="#{msgs.MSG_IDLE_CUERPO}"
					severity="alert" widgetVar="idleConfirmDialog">
					<p:commandButton id="confirm" value="Ok" onclick="idleConfirmDialog.hide()" />
					<p:commandButton id="Logout" value="LogMeOut" oncomplete="idleConfirmDialog.hide()"
						actionListener="#{loginController.cerrarSession}" />
				</p:confirmDialog>
				<t:div style="text-align:center;">
					<table align="center" border="0" cellpadding="0" cellspacing="0" style="width: 1000px; background-color:#FFFFFF;border: 1px solid #ACBECE;">
						<tr>
							<td align="left" valign="top"  id="Cabecera">			
								<table width="100%" cellpadding="0" cellspacing="0" border="0">
									<tr>
										<td>
											<a href="${request.contextPath}/Principal.xhtml" style="color:white; text-decoration: none">
												<h:outputText value="Página Inicio"/>
											</a>
										</td>
									</tr>
								</table>
							</td>
						</tr>
						<tr>
							<td align="left" valign="top" style="background-color: #E8E8E8;">	
								<table cellpadding="8" width="100%" bgcolor="white">
									<tr>
										<td align="left">											
											<h:graphicImage value="/imagenes/banner/BBVASistemaAsesoramientoFinanciero.png" alt=""/>										
										</td>
										<td align="right">											
											<h:graphicImage value="/imagenes/banner/bannerBBVA3TWO.jpg" alt=""/>
										</td>
									</tr>
								</table>										
							</td>
						</tr>
						<tr>
							<td align="left">
								<p:toolbar>
									<p:toolbarGroup align="left" style="height: 15px;">
										<h:outputText value="Gestor: #{loginModel.nombreEjecutivo}"/>
										<p:separator />
										<h:outputText value="Fecha: #{loginModel.fecha}"/>
										<p:separator />
										<h:outputText value="Información a Fecha: #{loginModel.fechaInformacion}"/>
									</p:toolbarGroup>
									<p:toolbarGroup align="right">
										<p:commandLink actionListener="#{loginController.cerrarSession}" value="Cerrar Sesión"></p:commandLink>
									</p:toolbarGroup>
								</p:toolbar>								
								<input type="hidden" id="jscook_action"	name="jscook_action" />			
							</td>
						</tr>
						<tr>
							<td>
								<p:menubar autoSubmenuDisplay="true" styleClass="styleMenuModelMain" effect="drop">
									<p:submenu label="Carga" >
										<p:menuitem value="Consulta de Carga" url="/pages/carga/ConsultaCarga.xhtml" />
										<p:menuitem value="Consulta de Carga - Detalle" url="/pages/carga/ConsultaCargaProcesos.xhtml" />
									</p:submenu>
									<p:submenu label="Privado" >
										<p:menuitem value="Verificar consultas" url="/pages/privado/VerificacionConsultas.xhtml" />
										<p:menuitem value="Administrar Multitabla" url="/pages/privado/administrarMultiTabla.xhtml" />
									</p:submenu>
								</p:menubar>
							</td>
						</tr>
						<tr>
							<td valign="top">
								<ui:insert name="tituloarea"/>
							</td>
						</tr>
						<tr>
							<td align="left" style="background-color: White;padding:10px 10px" valign="top">								
							   <ui:insert name="bodyarea"/>
							</td>
						</tr>							
						<tr>
							<td align="center" valign="top" id="Pie" class="dr-pnl-h rich-panel-header">
								BBVA Banco Continental ©Copyright -Todos los Derechos Reservados.
							</td>
						</tr>
					</table>
				</t:div>
			</h:form>
			<ui:insert name="extraarea"/>		
		</f:view>
	</body>
</html>